Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FeedLoad(Byte[],Int32,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > FeedLoad Method : FeedLoad(Byte[],Int32,Int32) Method



data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.
Supplies image data to the file-load process from a buffer that you provide.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub FeedLoad( _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim data() As Byte
Dim offset As Integer
Dim length As Integer
 
instance.FeedLoad(data, offset, length)
C# 
public void FeedLoad( 
   byte[] data,
   int offset,
   int length
)
C++/CLI 
public:
void FeedLoad( 
   array<byte>^ data,
   int offset,
   int length
) 

Parameters

data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.

Example

For an example, refer to StartFeedLoad.

Remarks

Use this method with the StartFeedLoad and StopFeedLoad methods.

For a description of how the methods relate to each other, refer to StartFeedLoad.

LEADTOOLS will attempt to load corrupted files, so you can see at least a portion of the image. For these images, the load methods succeed, but LoadStatus will return an error code.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also